package com.huawei.appgallery.wishlist.ui.cardkit.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.huawei.appgallery.wishlist.ui.cardkit.card.WishNotFoundCard;
import o.azb;
import o.cdr;
import o.cih;
import o.dce.i;

public class WishNotFoundNode extends cdr {
    public WishNotFoundNode(Context context) {
        super(context, 1);
    }

    public int ˏ() {
        return 1;
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -1);
        View view = (ViewGroup) LayoutInflater.from(this.ॱ).inflate(i.ᐝ, null);
        azb.ˏ(view);
        cih wishNotFoundCard = new WishNotFoundCard(this.ॱ);
        wishNotFoundCard.ˏ(view);
        ˊ(wishNotFoundCard);
        viewGroup.addView(view, layoutParams);
        return true;
    }
}
